package com.share.tx.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.oracle.jrockit.jfr.Transition;
import com.share.tx.dao.AccountAMapper;
import com.share.tx.entity.AccountA;

@Service
public class AccountAService {
	
	@Autowired
	AccountAMapper accountAMapper;
	
//	@Transactional(propagation = Propagation.REQUIRES_NEW)
	public void insertAccountA(AccountA accountA){
		accountAMapper.insertAccountA(accountA);
	}
	
}
